home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / relnotes / modules / ch5.z / ch5
Encoding:
Text File  |  2002-10-08  |  2.8 KB  |  71 lines

  1. The SCSL 1.1 release CD for IRIX systems also includes the Modules
  2. 2.2.1 (or later) release package.  SCSL may be installed in a modules
  3. environment or installed in default /usr or in both locations.
  4.  
  5. Installing SCSL in an alternate location for use with modules:
  6. -------------------------------------------------------------
  7.  
  8. Install the modules package into the default root. Once this is done,
  9. you can install the SCSL software as follows.
  10.  
  11. # inst -r /opt/scsl/"version" -f "location of scsl dist" -Vrulesoverride:on -a
  12.  
  13. The "version" string should match the 4 digit release string of the
  14. particular scsl package you are installing. This version can be determined
  15. as follows:
  16.  
  17. # showprods -f "location of scsl dist" scsl | grep -i scientific
  18.  
  19.     scsl    SGI Cray Scientific Library 1.1.0.2 (SCSL 1.1.0.0)
  20.  
  21. In the above example, SCSL version is 1.1.0.0.
  22.  
  23. Please note that -Vrulesoverride:on is needed to install due to the fact that
  24. /opt/scsl/"version" will not be a complete root but only a partial root
  25. containing only the scsl software. The -Vrulesoverride:on will turn off
  26. the verification of prequisite sub-systems.
  27.  
  28. Once the software is installed, you must set the scsl link as follows:
  29.  
  30. # cd /opt/scsl
  31. # ln -s "version" scsl        (scsl modulefile uses this link)
  32.  
  33. Assuming modules software is installed, the scsl modulefile
  34. will work with the above general installation.
  35.  
  36. To access the scsl software using modules:
  37.  
  38. From c-shell:
  39. % source /opt/modules/modules/init/csh   (should be added to .cshrc)
  40. % module load modules             (should be added to .cshrc)
  41. % module load scsl                    (can be added to .cshrc)
  42.  
  43. From POSIX-shell:
  44. export ENV=.env                        (added to .profile (.env is probably .kshrc))
  45. . /opt/modules/modules/init/ksh        (added to file $ENV)
  46. module load modules                    (added to file $ENV)
  47. module load scsl                       (added to $ENV)
  48.  
  49.  
  50. Creating a modulefile for a specific version of scsl:
  51. ----------------------------------------------------
  52.  
  53. For each version of the SCSL software you maintain, you can create
  54. a modulefile for it by copying the scsl modulefile to /opt/modulefiles
  55. as scsl."version". Then edit scsl."version" and change the value of
  56. SCSL_LEVEL to "version".
  57.  
  58. Example: You have installed version 1.1.0.1 as /opt/scsl/1.1.0.1.
  59. To create a modulefile for /opt/scsl/1.2.0.1, copy /opt/modulefiles/scsl
  60. to /opt/modulefiles/scsl.1.1.0.1. Edit /opt/modulefiles/scsl.1.1.0.1
  61. and  change the value of SCSL_LEVEL to 1.1.0.1.  Users can then change
  62. between this version and any other versions installed in this way,
  63.  using the module swap command.
  64.  
  65. % module swap scsl scsl.1.1.0.1
  66.  
  67. If SCSL is installed in both /usr and /opt (for modules), the user can
  68. load module SCSL and use the versions listed in /opt/scsl but, if the
  69. user does not load modules, the /usr version is referenced.
  70.  
  71.